export enum EnumMicroService {
  system = "system",
  dicom = "dicom",
  gateway = "gateway",
  breath = "breath",
  remoteDesktop = "remote-desktop",
  hardware = "hardware",
  image = "image",
}

export enum SysIntervalMsgType {
  // 前端 发送给 网关  的消息
  FE_GATEWAY_EXCHANGE_EVENT = "fe_gateway",
  //  网关 发送给 前端  的消息。 网关处监听
  GATEWAY_FE_EXCHANGE_EVENT = 'gateway_fe',

  IMAGE_FE_EXCHANGE_EVENT = 'image_fe',


  SYSTEM_MSG_EVENT = "system_msg_event",
  DICOM_MSG_EVENT = "dicom_msg_event",
  IMAGE_MSG_EVENT = "image_msg_event",
  FROM_SYSTEM_TO_IMAGE_EVENT = "from_system_to_image_event",

  SEND_TO_HARDWARE_MSG_EVENT = "hardware_msg_event",
  RECEIVE_HARDWARE_MSG_EVENT = "receive_hardware_msg_event",
}

export enum DicomSystemEvent{
  create_new_fold = "create_new_fold"
}

export const Constants = {
  MetaKey: {
    noNeedLogin: "no-need-login",
    requirePermission: "require-permission"
  },
  SuccessCode: 1,
  ErrorCode: -1
};


